package com.heima.service;

import com.heima.entity.PageResult;
import com.heima.entity.QueryPageBean;
import com.heima.exception.CheckItemDeleteFailException;
import com.heima.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    public void add(CheckItem checkItem);

    public PageResult findPage(QueryPageBean queryPageBean);

    public void deleteById(Integer id) throws CheckItemDeleteFailException;

    public void edit(CheckItem checkItem);

    public List<CheckItem> findAll();

    public List<CheckItem> findAllAndOrder(Integer id);


}
